
<!DOCTYPE HTML>
<html lang="zh-hans" >
    <head>
        <meta charset="UTF-8">
        <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
        <title>Vim编辑器再学习 · 日常学习笔记</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge" />
        <meta name="description" content="">
        <meta name="generator" content="GitBook 3.2.3">
        
        
        
    
    <link rel="stylesheet" href="../gitbook/style.css">

    
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-pageview-count/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-code/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-back-to-top-button/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-splitter/splitter.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-search-pro/search.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-anchors/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-page-footer-ex/style/plugin.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-advanced-emoji/emoji-website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-highlight/website.css">
                
            
                
                <link rel="stylesheet" href="../gitbook/gitbook-plugin-fontsettings/website.css">
                
            
        

    

    
        
    
        
    
        
    
        
    
        
    
        
    

        
    
    
    
    <meta name="HandheldFriendly" content="true"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <link rel="apple-touch-icon-precomposed" sizes="152x152" href="../gitbook/images/apple-touch-icon-precomposed-152.png">
    <link rel="shortcut icon" href="../gitbook/images/favicon.ico" type="image/x-icon">

    
    <link rel="next" href="VimScript学习笔记.html" />
    
    
    <link rel="prev" href="Vim小知识.html" />
    

    <style>
    @media only screen and (max-width: 640px) {
        .book-header .hidden-mobile {
            display: none;
        }
    }
    </style>
    <script>
        window["gitbook-plugin-github-buttons"] = {"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]};
    </script>

    </head>
    <body>
        
<div class="book">
    <div class="book-summary">
        
            
<div id="book-search-input" role="search">
    <input type="text" placeholder="输入并搜索" />
</div>

            
                <nav role="navigation">
                


<ul class="summary">
    
    

    

    
        
        
    
        <li class="chapter " data-level="1.1" data-path="../">
            
                <a href="../">
            
                    
                    Introduction
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2" data-path="../网络学习资源整理/">
            
                <a href="../网络学习资源整理/">
            
                    
                    网络学习资源整理
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.2.1" data-path="../网络学习资源整理/技术学习.html">
            
                <a href="../网络学习资源整理/技术学习.html">
            
                    
                    技术学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.2" data-path="../网络学习资源整理/运维博客.html">
            
                <a href="../网络学习资源整理/运维博客.html">
            
                    
                    运维博客
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.3" data-path="../网络学习资源整理/工具.html">
            
                <a href="../网络学习资源整理/工具.html">
            
                    
                    工具
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.4" data-path="../网络学习资源整理/静态博客模板.html">
            
                <a href="../网络学习资源整理/静态博客模板.html">
            
                    
                    静态博客模板
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.5" data-path="../网络学习资源整理/静态网站pages服务.html">
            
                <a href="../网络学习资源整理/静态网站pages服务.html">
            
                    
                    静态网站pages服务
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.6" data-path="../网络学习资源整理/静态pages的CI和CD.html">
            
                <a href="../网络学习资源整理/静态pages的CI和CD.html">
            
                    
                    静态pages的CI和CD
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.2.7" data-path="../网络学习资源整理/Hugo学习.html">
            
                <a href="../网络学习资源整理/Hugo学习.html">
            
                    
                    Hugo学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.3" data-path="../心灵鸡汤/">
            
                <a href="../心灵鸡汤/">
            
                    
                    心灵鸡汤
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.3.1" data-path="../心灵鸡汤/心灵鸡汤.html">
            
                <a href="../心灵鸡汤/心灵鸡汤.html">
            
                    
                    语录
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.4" data-path="../Linux/">
            
                <a href="../Linux/">
            
                    
                    Linux
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.4.1" data-path="../Linux/Linux常用命令.html">
            
                <a href="../Linux/Linux常用命令.html">
            
                    
                    Linux常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.2" data-path="../Linux/Linux小知识.html">
            
                <a href="../Linux/Linux小知识.html">
            
                    
                    平时 linux 遇到的问题解决办法和扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.3" data-path="../Linux/Linux性能相关常用命令.html">
            
                <a href="../Linux/Linux性能相关常用命令.html">
            
                    
                    Linux性能相关常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.4" data-path="../Linux/Linux各种安装下载慢解决方法.html">
            
                <a href="../Linux/Linux各种安装下载慢解决方法.html">
            
                    
                    Linux各种安装下载慢解决方法
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.5" data-path="../Linux/APT-剖析详解.html">
            
                <a href="../Linux/APT-剖析详解.html">
            
                    
                    APT 原理剖析、详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.6" data-path="../Linux/Linux主机、虚拟机和docker网络配置.html">
            
                <a href="../Linux/Linux主机、虚拟机和docker网络配置.html">
            
                    
                    Linux 主机、虚拟机和docker网络配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.7" data-path="../Linux/Linux文件系统学习.html">
            
                <a href="../Linux/Linux文件系统学习.html">
            
                    
                    Linux文件系统学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.8" data-path="../Linux/Linux用户和用户组管理.html">
            
                <a href="../Linux/Linux用户和用户组管理.html">
            
                    
                    Linux用户和用户组管理
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.9" data-path="../Linux/Linux用户增删改等学习.html">
            
                <a href="../Linux/Linux用户增删改等学习.html">
            
                    
                    Linux用户增删改等学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.10" data-path="../Linux/Linux程序存放目录.html">
            
                <a href="../Linux/Linux程序存放目录.html">
            
                    
                    Linux程序存放目录.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.11" data-path="../Linux/Linux编译安装软件包详解.html">
            
                <a href="../Linux/Linux编译安装软件包详解.html">
            
                    
                    Linux C/C++ 软件包编译、安装原理详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.12" data-path="../Linux/SSH详解.html">
            
                <a href="../Linux/SSH详解.html">
            
                    
                    SSH 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.13" data-path="../Linux/Tomcat和Ngnix和Apache.html">
            
                <a href="../Linux/Tomcat和Ngnix和Apache.html">
            
                    
                    Tomcat和Ngnix和Apache.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.14" data-path="../Linux/UbuntuSoftwareInstall.html">
            
                <a href="../Linux/UbuntuSoftwareInstall.html">
            
                    
                    Ubuntu 软件包安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.15" data-path="../Linux/YAML-配置文件语言.html">
            
                <a href="../Linux/YAML-配置文件语言.html">
            
                    
                    YAML 配置文件语言
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.16" data-path="../Linux/bin目录详解.html">
            
                <a href="../Linux/bin目录详解.html">
            
                    
                    bin目录详解.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.17" data-path="../Linux/ffmpeg详解.html">
            
                <a href="../Linux/ffmpeg详解.html">
            
                    
                    ffmpeg学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.18" data-path="../Linux/trans命令.html">
            
                <a href="../Linux/trans命令.html">
            
                    
                    trans命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.19" data-path="../Linux/yum和rpm.html">
            
                <a href="../Linux/yum和rpm.html">
            
                    
                    Yum 和 RPM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.20" data-path="../Linux/从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                <a href="../Linux/从BashShell启动“窥探”Linux环境变量相关文件.html">
            
                    
                    Linux环境变量详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.21" data-path="../Linux/新创建主机常用初始化配置.html">
            
                <a href="../Linux/新创建主机常用初始化配置.html">
            
                    
                    新建主机常用初始化配置
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.22" data-path="../Linux/正则表达式学习.html">
            
                <a href="../Linux/正则表达式学习.html">
            
                    
                    正则表达式
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.23" data-path="../Linux/通过Linux开机启动项展开学习.html">
            
                <a href="../Linux/通过Linux开机启动项展开学习.html">
            
                    
                    Linux开机启动项学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.4.24" data-path="../Linux/防火墙学习.html">
            
                <a href="../Linux/防火墙学习.html">
            
                    
                    防火墙学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.5" data-path="../Python/">
            
                <a href="../Python/">
            
                    
                    Python
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.5.1" data-path="../Python/BeautifulSoup.md">
            
                <span>
            
                    
                    Python3 BeautifulSoup 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.2" data-path="../Python/Django.html">
            
                <a href="../Python/Django.html">
            
                    
                    Python Django 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.3" data-path="../Python/IPython使用技巧.html">
            
                <a href="../Python/IPython使用技巧.html">
            
                    
                    IPython 使用技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.4" data-path="../Python/Numpy.html">
            
                <a href="../Python/Numpy.html">
            
                    
                    Python Numpy 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.5" data-path="../Python/Python小知识.html">
            
                <a href="../Python/Python小知识.html">
            
                    
                    Python 学习遇到的问题解决或扩展小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.6" data-path="../Python/Python模块管理总结.html">
            
                <a href="../Python/Python模块管理总结.html">
            
                    
                    Python 模块管理总结
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.7" data-path="../Python/flask学习.md">
            
                <span>
            
                    
                    Flask 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.8" data-path="../Python/matplotlib.html">
            
                <a href="../Python/matplotlib.html">
            
                    
                    matplotlib.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.9" data-path="../Python/re正则表达式.html">
            
                <a href="../Python/re正则表达式.html">
            
                    
                    re正则表达式.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.10" data-path="../Python/图形界面学习.html">
            
                <a href="../Python/图形界面学习.html">
            
                    
                    图形界面学习.md
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.11" data-path="../Python/常用图像库学习.html">
            
                <a href="../Python/常用图像库学习.html">
            
                    
                    Python3 常用图像库
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.5.12" data-path="../Python/进阶学习.html">
            
                <a href="../Python/进阶学习.html">
            
                    
                    Python3 进阶学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.6" data-path="../Shell/">
            
                <a href="../Shell/">
            
                    
                    Shell
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.6.1" data-path="../Shell/shell小知识.html">
            
                <a href="../Shell/shell小知识.html">
            
                    
                    Shell小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.2" data-path="../Shell/Shell奇淫技巧.html">
            
                <a href="../Shell/Shell奇淫技巧.html">
            
                    
                    Shell奇淫技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.3" data-path="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                <a href="../Shell/Linux文本操作三大利器-grep、sed、awk.html">
            
                    
                    grep、sed、awk 详解
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.4" data-path="../Shell/Shell文本处理常用工具补遗.html">
            
                <a href="../Shell/Shell文本处理常用工具补遗.html">
            
                    
                    Shell文本处理常用工具补遗
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.5" data-path="../Shell/句子解析.html">
            
                <a href="../Shell/句子解析.html">
            
                    
                    句子解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.6" data-path="../Shell/识别是否是root用户.html">
            
                <a href="../Shell/识别是否是root用户.html">
            
                    
                    识别是否是root用户
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.6.7" data-path="../Shell/识别系统.html">
            
                <a href="../Shell/识别系统.html">
            
                    
                    识别系统
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.7" data-path="./">
            
                <a href="./">
            
                    
                    Vim
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.7.1" data-path="Vim小知识.html">
            
                <a href="Vim小知识.html">
            
                    
                    Vim小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter active" data-level="1.7.2" data-path="Vim编辑器再学习.html">
            
                <a href="Vim编辑器再学习.html">
            
                    
                    Vim编辑器再学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.3" data-path="VimScript学习笔记.html">
            
                <a href="VimScript学习笔记.html">
            
                    
                    VimScript 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.4" data-path="YouCompleteMe安装.html">
            
                <a href="YouCompleteMe安装.html">
            
                    
                    YouCompleteMe安装
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.5" data-path="vimrc示例1.html">
            
                <a href="vimrc示例1.html">
            
                    
                    vimrc示例
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.6" data-path="vimrc备份.html">
            
                <a href="vimrc备份.html">
            
                    
                    vimrc备份
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.7.7" data-path="Tmux快捷键.html">
            
                <a href="Tmux快捷键.html">
            
                    
                    Tmux快捷键
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.8" data-path="../Ansible/">
            
                <a href="../Ansible/">
            
                    
                    Ansible
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.8.1" data-path="../Ansible/术语表.html">
            
                <a href="../Ansible/术语表.html">
            
                    
                    术语表
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.2" data-path="../Ansible/Ansible必知单词.html">
            
                <a href="../Ansible/Ansible必知单词.html">
            
                    
                    Ansible 常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.3" data-path="../Ansible/Ansible学习.html">
            
                <a href="../Ansible/Ansible学习.html">
            
                    
                    Ansible 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.8.4" data-path="../Ansible/Ansible常用模板.html">
            
                <a href="../Ansible/Ansible常用模板.html">
            
                    
                    Ansible常用模板.md
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.9" data-path="../Docker/">
            
                <a href="../Docker/">
            
                    
                    Docker
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.9.1" data-path="../Docker/Docker基础学习.html">
            
                <a href="../Docker/Docker基础学习.html">
            
                    
                    Docker 基础学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.2" data-path="../Docker/Docker小知识.html">
            
                <a href="../Docker/Docker小知识.html">
            
                    
                    Docker 小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.9.3" data-path="../Docker/Docker必知单词.html">
            
                <a href="../Docker/Docker必知单词.html">
            
                    
                    Docker 学习中的单词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.10" data-path="../Git/">
            
                <a href="../Git/">
            
                    
                    Git
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.10.1" data-path="../Git/git学习.html">
            
                <a href="../Git/git学习.html">
            
                    
                    Git 学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.10.2" data-path="../Git/git小技巧.html">
            
                <a href="../Git/git小技巧.html">
            
                    
                    Git 小技巧
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.11" data-path="../Zabbix/">
            
                <a href="../Zabbix/">
            
                    
                    Zabbix
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.11.1" data-path="../Zabbix/Docker安装配置Zabbix.html">
            
                <a href="../Zabbix/Docker安装配置Zabbix.html">
            
                    
                    Docker 安装配置 Zabbix
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.2" data-path="../Zabbix/术语单词.html">
            
                <a href="../Zabbix/术语单词.html">
            
                    
                    Zabbix 中常用单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.11.3" data-path="../Zabbix/重置密码.html">
            
                <a href="../Zabbix/重置密码.html">
            
                    
                    重置 Zabbix 账户密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.12" data-path="../KVM/">
            
                <a href="../KVM/">
            
                    
                    KVM
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.12.1" data-path="../KVM/安装配置.html">
            
                <a href="../KVM/安装配置.html">
            
                    
                    常用命令
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.12.2" data-path="../KVM/虚拟机网络配置.html">
            
                <a href="../KVM/虚拟机网络配置.html">
            
                    
                    Bridged 桥接模式
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.13" data-path="../Mysql/">
            
                <a href="../Mysql/">
            
                    
                    Mysql
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.13.1" data-path="../Mysql/Ubuntu安装Navicat.html">
            
                <a href="../Mysql/Ubuntu安装Navicat.html">
            
                    
                    Ubuntu 安装及配置 Navicat
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.13.2" data-path="../Mysql/忘记root密码.html">
            
                <a href="../Mysql/忘记root密码.html">
            
                    
                    如何替换已忘记的 root 密码
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.14" data-path="../Nginx/">
            
                <a href="../Nginx/">
            
                    
                    Nginx
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.14.1" data-path="../Nginx/Nginx学习笔记.html">
            
                <a href="../Nginx/Nginx学习笔记.html">
            
                    
                    Nginx 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.15" data-path="../NoClass/">
            
                <a href="../NoClass/">
            
                    
                    闲知
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.15.1" data-path="../NoClass/容易读错的IT术语.html">
            
                <a href="../NoClass/容易读错的IT术语.html">
            
                    
                    容易读错的IT术语
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.2" data-path="../NoClass/Linux-electron-tutorial.html">
            
                <a href="../NoClass/Linux-electron-tutorial.html">
            
                    
                    Linux electron 学习记录
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.3" data-path="../NoClass/MarkdownSkills.html">
            
                <a href="../NoClass/MarkdownSkills.html">
            
                    
                    记录 Markdown 的各种小技巧
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.4" data-path="../NoClass/RaspeberryPi.html">
            
                <a href="../NoClass/RaspeberryPi.html">
            
                    
                    使用树莓派 3B 遇到的问题
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.5" data-path="../NoClass/华为国产手机芯片SoC.html">
            
                <a href="../NoClass/华为国产手机芯片SoC.html">
            
                    
                    华为国产手机芯片SoC
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.6" data-path="../NoClass/图片格式详解及其对比.html">
            
                <a href="../NoClass/图片格式详解及其对比.html">
            
                    
                    图片格式详解及其对比
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.7" data-path="../NoClass/计算机小知识.html">
            
                <a href="../NoClass/计算机小知识.html">
            
                    
                    记录一些计算机的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.15.8" data-path="../NoClass/诗词.html">
            
                <a href="../NoClass/诗词.html">
            
                    
                    诗词
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.16" data-path="../OS/">
            
                <a href="../OS/">
            
                    
                    OS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.16.1" data-path="../OS/学习笔记.html">
            
                <a href="../OS/学习笔记.html">
            
                    
                    操作系统学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.2" data-path="../OS/术语单词.html">
            
                <a href="../OS/术语单词.html">
            
                    
                    OS 专业词语解析
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.16.3" data-path="../OS/SoCCPU.html">
            
                <a href="../OS/SoCCPU.html">
            
                    
                    SoC 与 CPU
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.17" data-path="../Tomcat/">
            
                <a href="../Tomcat/">
            
                    
                    Tomcat
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.17.1" data-path="../Tomcat/Tomcat 学习.html">
            
                <a href="../Tomcat/Tomcat 学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.17.2" data-path="../Tomcat/Tomcat学习.html">
            
                <a href="../Tomcat/Tomcat学习.html">
            
                    
                    Tomcat 学习
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.18" data-path="../VPS/">
            
                <a href="../VPS/">
            
                    
                    VPS
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.18.1" data-path="../VPS/AWS_lightsail.html">
            
                <a href="../VPS/AWS_lightsail.html">
            
                    
                    AWS LightSail
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.2" data-path="../VPS/GCP_VM实例创建和基本配置.html">
            
                <a href="../VPS/GCP_VM实例创建和基本配置.html">
            
                    
                    GCP VM
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.18.3" data-path="../VPS/ECS和VPS等等.html">
            
                <a href="../VPS/ECS和VPS等等.html">
            
                    
                    ECS和VPS
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.19" data-path="../ComputerComposition/">
            
                <a href="../ComputerComposition/">
            
                    
                    ComputerComposition
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.19.1" data-path="../ComputerComposition/学习笔记.html">
            
                <a href="../ComputerComposition/学习笔记.html">
            
                    
                    计算机组成原理学习笔记
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.20" data-path="../ComputerNetwork/">
            
                <a href="../ComputerNetwork/">
            
                    
                    ComputerNetwork
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.20.1" data-path="../ComputerNetwork/ProWords.html">
            
                <a href="../ComputerNetwork/ProWords.html">
            
                    
                    术语单词
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.2" data-path="../ComputerNetwork/学习笔记.html">
            
                <a href="../ComputerNetwork/学习笔记.html">
            
                    
                    计算机网络学习笔记
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.3" data-path="../ComputerNetwork/小知识.html">
            
                <a href="../ComputerNetwork/小知识.html">
            
                    
                    学习计算机网络中的小知识
            
                </a>
            

            
        </li>
    
        <li class="chapter " data-level="1.20.4" data-path="../NoClass/浏览器架构简析.md">
            
                <span>
            
                    
                    浏览器架构简析
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    
        <li class="chapter " data-level="1.21" data-path="../毕业论文/">
            
                <a href="../毕业论文/">
            
                    
                    毕业论文
            
                </a>
            

            
            <ul class="articles">
                
    
        <li class="chapter " data-level="1.21.1" data-path="../毕业论文/开题报告.html">
            
                <a href="../毕业论文/开题报告.html">
            
                    
                    开题报告
            
                </a>
            

            
        </li>
    

            </ul>
            
        </li>
    

    

    <li class="divider"></li>

    <li>
        <a href="https://www.gitbook.com" target="blank" class="gitbook-link">
            本书使用 GitBook 发布
        </a>
    </li>
</ul>


                </nav>
            
        
    </div>

    <div class="book-body">
        
            <div class="body-inner">
                
                    

<div class="book-header" role="navigation">
    

    <!-- Title -->
    <h1>
        <i class="fa fa-circle-o-notch fa-spin"></i>
        <a href=".." >Vim编辑器再学习</a>
    </h1>
</div>




                    <div class="page-wrapper" tabindex="-1" role="main">
                        <div class="page-inner">
                            
<div id="book-search-results">
    <div class="search-noresults">
    
                                <section class="normal markdown-section">
                                
                                <h1 id="vim-&#x7F16;&#x8F91;&#x5668;&#x518D;&#x5B66;&#x4E60;"><a name="vim-&#x7F16;&#x8F91;&#x5668;&#x518D;&#x5B66;&#x4E60;" class="plugin-anchor" href="#vim-&#x7F16;&#x8F91;&#x5668;&#x518D;&#x5B66;&#x4E60;"><i class="fa fa-link" aria-hidden="true"></i></a>Vim &#x7F16;&#x8F91;&#x5668;&#x518D;&#x5B66;&#x4E60;</h1>
<blockquote>
<ul>
<li>&#x4F7F;&#x7528; Ubuntu &#x5DF2;&#x7ECF;&#x4E24;&#x5E74;&#x4E86;&#xFF0C;&#x5BF9;&#x4E8E; Vim &#x7684;&#x5229;&#x7528;&#x53EA;&#x80FD;&#x7B97;&#x662F;&#x5C0F;&#x534A;&#x6876;&#x6C34;&#x6C34;&#x5E73;&#xFF0C;&#x4E00;&#x76F4;&#x611F;&#x89C9;&#x5229;&#x7528; Vim &#x7F16;&#x7A0B;&#x975E;&#x5E38;&#x9EBB;&#x70E6;&#xFF0C;&#x51E0;&#x6B21;&#x5C1D;&#x8BD5;&#x7CFB;&#x7EDF;&#x5B66;&#x4E60; Vim&#xFF0C;&#x5E76;&#x4ECE;&#x6B64;&#x8F6C;&#x6362;&#x5230; Vim &#x4F7F;&#x7528;&#x8005;&#x4E00;&#x65CF;&#xFF0C;&#x4F46;&#x90FD;&#x534A;&#x9014;&#x800C;&#x5E9F;&#x3002;&#x73B0;&#x5728;&#x7EC8;&#x4E8E;&#x4E0B;&#x5B9A;&#x51B3;&#x5FC3;&#xFF0C;&#x5373;&#x4F7F;&#x6478;&#x7740;&#x77F3;&#x5934;&#x4E5F;&#x8981;&#x8FC7;&#x4E86;&#x8FD9;&#x6761; &#x201C;&#x6CB3;&#x201D;&#x3002;&#x6211;&#x8BA4;&#x4E3A;&#x8FD9;&#x5C31;&#x597D;&#x6BD4;&#x5F53;&#x5E74;&#x4ECE; Windows &#x8FC1;&#x79FB;&#x5230; Linux &#x4E0A;&#xFF0C;&#x4E00;&#x5F00;&#x59CB;&#x4E00;&#x76F4;&#x72B9;&#x72B9;&#x8C6B;&#x8C6B;&#xFF0C;&#x4F46;&#x540E;&#x6765;&#x770B;&#x5230;&#x4E00;&#x7247;&#x4EE4;&#x6211;&#x8305;&#x585E;&#x987F;&#x5F00;&#x7684;&#x6587;&#x7AE0;&#xFF0C;&#x90A3;&#x5929;&#x4E0B;&#x5348;&#x6211;&#x5C31;&#x5F00;&#x59CB;&#x4E86; Linux &#x7684;&#x751F;&#x6DAF;&#xFF0C;&#x51E1;&#x4E8B;&#x90FD;&#x8981;&#x8FC8;&#x51FA;&#x7B2C;&#x4E00;&#x6B65;&#x561B;&#xFF01;</li>
<li>&#x5BF9;&#x4E8E;&#x5927;&#x591A;&#x6570;&#x7528;&#x6237;&#x6765;&#x8BF4;&#xFF0C;Vim &#x6709;&#x7740;&#x4E00;&#x4E2A;&#x6BD4;&#x8F83;&#x9661;&#x5CED;&#x7684;&#x5B66;&#x4E60;&#x66F2;&#x7EBF;&#x3002;&#x8FD9;&#x610F;&#x5473;&#x7740;&#x5F00;&#x59CB;&#x5B66;&#x4E60;&#x7684;&#x65F6;&#x5019;&#x53EF;&#x80FD;&#x4F1A;&#x8FDB;&#x5C55;&#x7F13;&#x6162;&#xFF0C;&#x4F46;&#x662F;&#x4E00;&#x65E6;&#x638C;&#x63E1;&#x4E00;&#x4E9B;&#x57FA;&#x672C;&#x64CD;&#x4F5C;&#x4E4B;&#x540E;&#xFF0C;&#x80FD;&#x5927;&#x5E45;&#x5EA6;&#x63D0;&#x9AD8;&#x7F16;&#x8F91;&#x6548;&#x7387;&#x3002;&#x5728;Vim &#x7528;&#x6237;&#x624B;&#x518C;&#x4E2D;&#x66F4;&#x52A0;&#x8BE6;&#x7EC6;&#x7684;&#x63CF;&#x8FF0;&#x4E86; Vim &#x7684;&#x57FA;&#x7840;&#x548C;&#x8FDB;&#x9636;&#x529F;&#x80FD;&#x3002;&#x53EF;&#x4EE5;&#x5728;Vim&#x4E2D;&#x8F93;&#x5165; <code>:help user-manual</code> &#x8FDB;&#x5165;&#x7528;&#x6237;&#x624B;&#x518C;&#x3002;&#x624B;&#x518C;&#x9664;&#x4E86;&#x539F;&#x59CB;&#x7684;&#x82F1;&#x6587;&#x7248;&#x672C;&#x4E4B;&#x5916;&#xFF0C;&#x4E5F;&#x88AB;&#x5FD7;&#x613F;&#x8005;&#x7FFB;&#x8BD1;&#x6210;&#x4E86;&#x5404;&#x56FD;&#x6587;&#x5B57;&#xFF0C;&#x5176;&#x4E2D;&#x5305;&#x62EC;&#x4E2D;&#x6587;&#x3002; --- Wiki</li>
<li>&#x901A;&#x7BC7;&#x6559;&#x7A0B;&#x4EE5; Ubuntu 18.04 LTS &#x4E3A;&#x4F8B;</li>
</ul>
</blockquote>
<h2 id="&#x53C2;&#x8003;--&#x6269;&#x5C55;"><a name="&#x53C2;&#x8003;--&#x6269;&#x5C55;" class="plugin-anchor" href="#&#x53C2;&#x8003;--&#x6269;&#x5C55;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x53C2;&#x8003; &amp;&amp; &#x6269;&#x5C55;</h2>
<blockquote>
<ul>
<li><a href="https://blog.csdn.net/nitweihong/article/details/7221930" target="_blank">vim&#x5B57;&#x7B26;&#x4E32;&#x66FF;&#x6362;&#x53CA;&#x5C0F;&#x6280;&#x5DE7;</a></li>
</ul>
</blockquote>
<h2 id="vim-&#x5B89;&#x88C5;&#x3001;&#x5378;&#x8F7D;"><a name="vim-&#x5B89;&#x88C5;&#x3001;&#x5378;&#x8F7D;" class="plugin-anchor" href="#vim-&#x5B89;&#x88C5;&#x3001;&#x5378;&#x8F7D;"><i class="fa fa-link" aria-hidden="true"></i></a>Vim &#x5B89;&#x88C5;&#x3001;&#x5378;&#x8F7D;</h2>
<blockquote>
<p><strong>Vim Github :</strong> <a href="https://github.com/vim/vim" target="_blank">https://github.com/vim/vim</a></p>
</blockquote>
<h3 id="&#x5B89;&#x88C5;&#x65B9;&#x6CD5;"><a name="&#x5B89;&#x88C5;&#x65B9;&#x6CD5;" class="plugin-anchor" href="#&#x5B89;&#x88C5;&#x65B9;&#x6CD5;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5B89;&#x88C5;&#x65B9;&#x6CD5;</h3>
<blockquote>
<p>&#x5B89;&#x88C5;&#x5F88;&#x7B80;&#x5355;&#xFF0C;&#x65B9;&#x6CD5;&#x5982;&#x4E0B;&#xFF0C;&#x5177;&#x4F53;&#x6B65;&#x9AA4;&#x767E;&#x5EA6;&#x3001;Google &#x4E00;&#x4E0B;&#x5373;&#x53EF;</p>
</blockquote>
<ol>
<li>Github &#x6E90;&#x7801;&#x5B89;&#x88C5;</li>
<li>&#x672C;&#x5730;&#x8F6F;&#x4EF6;&#x6E90;&#x5B89;&#x88C5;&#xFF1A;<code>sudo apt install vim</code></li>
<li>&#x6DFB;&#x52A0;&#x8F6F;&#x4EF6;&#x6E90;&#x5B89;&#x88C5;</li>
</ol>
<h3 id="&#x5378;&#x8F7D;"><a name="&#x5378;&#x8F7D;" class="plugin-anchor" href="#&#x5378;&#x8F7D;"><i class="fa fa-link" aria-hidden="true"></i></a>&#x5378;&#x8F7D;</h3>
<blockquote>
<p>&#x5378;&#x8F7D;&#x6709;&#x4E9B;&#x5730;&#x65B9;&#x9700;&#x8981;&#x6CE8;&#x610F;</p>
</blockquote>
<ol>
<li><p>&#x8001;&#x7248;&#x672C; Vim &#x5B8C;&#x5168;&#x5378;&#x8F7D;</p>
</li>
<li><p>&#x9996;&#x5148;&#x68C0;&#x67E5;&#x672C;&#x5730;&#x5B89;&#x88C5;&#x7684; Vim &#x76F8;&#x5173;&#x7684;&#x8F6F;&#x4EF6;</p>
</li>
</ol>
<pre><code class="lang-shell">dpkg -l | grep vim
</code></pre>
<ul>
<li>apt &#x5378;&#x8F7D;</li>
</ul>
<pre><code class="lang-shell">sudo apt-get remove vim
sudo apt-get remove vim-runtime
sudo apt-get remove vim -tiny
sudo apt-get remove vim-common
sudo apt-get remove vim-doc
sudo apt-get remove vim-scripts
</code></pre>
<ol>
<li>&#x4F7F;&#x7528;&#x5305;&#x7BA1;&#x7406;&#x5668; apt &#x5378;&#x8F7D;</li>
</ol>
<pre><code class="lang-shell"># &#x5378;&#x8F7D; Vim&#xFF0C;&#x53EA;&#x5220;&#x9664; Vim &#x5305;&#x672C;&#x8EAB;
sudo apt remove vim
# &#x5378;&#x8F7D; Vim &#x53CA;&#x5176;&#x4F9D;&#x8D56;&#x8F6F;&#x4EF6;&#x5305;
sudo apt remove --auto-remove vim
# &#x6E05;&#x9664; Vim &#x914D;&#x7F6E;/&#x6570;&#x636E;&#xFF0C;&#x6CE8;&#x610F;&#x6E05;&#x9664;&#x7684;&#x914D;&#x7F6E;&#x53CA;&#x6570;&#x636E;&#x65E0;&#x6CD5;&#x6062;&#x590D;
sudo apt purge vim
# &amp;
sudo apt purge --auto-remove vim
</code></pre>
<h2 id="vim-&#x7684;&#x914D;&#x7F6E;"><a name="vim-&#x7684;&#x914D;&#x7F6E;" class="plugin-anchor" href="#vim-&#x7684;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>Vim &#x7684;&#x914D;&#x7F6E;</h2>
<h3 id="vim-&#x914D;&#x7F6E;&#x6587;&#x4EF6;---vimrc"><a name="vim-&#x914D;&#x7F6E;&#x6587;&#x4EF6;---vimrc" class="plugin-anchor" href="#vim-&#x914D;&#x7F6E;&#x6587;&#x4EF6;---vimrc"><i class="fa fa-link" aria-hidden="true"></i></a>Vim &#x914D;&#x7F6E;&#x6587;&#x4EF6; - <code>vimrc</code></h3>
<ol>
<li><p>&#x7CFB;&#x7EDF;&#x7EA7; Vim &#x914D;&#x7F6E;&#x6587;&#x4EF6;</p>
</li>
<li><p><code>/etc/vim/vimrc</code>
&#x7CFB;&#x7EDF;&#x7684;&#x6BCF;&#x4E2A;&#x7528;&#x6237;&#x5728;&#x6253;&#x5F00; Vim &#x65F6;&#x90FD;&#x4F1A;&#x8F7D;&#x5165;&#x5B83;</p>
</li>
<li><code>/usr/share/vim/vimrc</code>
&#x662F;&#x4E00;&#x4E2A;&#x94FE;&#x63A5;&#x5230; <code>/etc/vim/vimrc</code> &#x7684;&#x94FE;&#x63A5;&#x6587;&#x4EF6;<pre><code class="lang-shell">lrwxrwxrwx 1 root root 14 Apr 11  2018 vimrc -&gt; /etc/vim/vimrc
</code></pre>
</li>
<li><p>&#x7528;&#x6237;&#x7EA7; Vim &#x914D;&#x7F6E;&#x6587;&#x4EF6;</p>
</li>
<li><p>~/.vimrc</p>
</li>
</ol>
<blockquote>
<ul>
<li><p>&#x5728; Linux &#x548C; Mac OS X &#x4E2D;&#xFF0C;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x4F4D;&#x4E8E;&#x4F60;&#x7684; home &#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5E76;&#x4EE5; <code>.vimrc</code> &#x547D;&#x540D;&#xFF1B;&#x5728; Windows &#x4E2D;&#xFF0C;&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x4F4D;&#x4E8E;&#x4F60;&#x7684; home &#x6587;&#x4EF6;&#x5939;&#xFF0C;&#x5E76;&#x4EE5; <code>_vimrc</code>&#x547D;&#x540D;</p>
</li>
<li><p>&#x5E94;&#x8BE5;&#x5728;&#x8FD9;&#x91CC;&#x7F16;&#x8F91;&#x81EA;&#x5DF1;&#x7684; Vim &#x914D;&#x7F6E;&#x4FE1;&#x606F;&#xFF0C;<strong>&#x8FD9;&#x4E2A;&#x6587;&#x4EF6;&#x91CC;&#x4E0D;&#x8981;&#x6709;&#x91CD;&#x590D;&#x7684;&#x914D;&#x7F6E;</strong>&#xFF0C;&#x6BD4;&#x5982; <code>filetype plugin indent on</code> &#x548C; <code>filetype plugin on</code> <code>filetype indent on</code> &#x91CD;&#x590D;&#x3002;&#x4E4B;&#x524D;&#x76F4;&#x63A5;&#x590D;&#x5236;&#x4E86;&#x522B;&#x4EBA;&#x7684;&#x90E8;&#x5206;&#x914D;&#x7F6E;&#xFF0C;&#x6B63;&#x5DE7;&#x5C31;&#x53D1;&#x751F;&#x4E86;&#x4E0A;&#x9762;&#x7684;&#x91CD;&#x590D;&#xFF0C;&#x76F4;&#x63A5;&#x5BFC;&#x81F4; vim &#x7F13;&#x51B2;&#x533A;&#x51FA;&#x73B0;&#x95EE;&#x9898;&#xFF0C;&#x5BFC;&#x81F4;&#x65E0;&#x6CD5;&#x6B63;&#x5E38;&#x6253;&#x5F00;&#x6587;&#x4EF6;&#xFF0C;&#x800C;&#x4E14;&#x8FD9;&#x6837;&#x7684;&#x9519;&#x8BEF;&#x5F88;&#x96BE;&#x53D1;&#x73B0;&#x6392;&#x9664;</p>
</li>
</ul>
</blockquote>
<h3 id="vimscript---vim-&#x7684;&#x81EA;&#x5B9A;&#x4E49;&#x914D;&#x7F6E;"><a name="vimscript---vim-&#x7684;&#x81EA;&#x5B9A;&#x4E49;&#x914D;&#x7F6E;" class="plugin-anchor" href="#vimscript---vim-&#x7684;&#x81EA;&#x5B9A;&#x4E49;&#x914D;&#x7F6E;"><i class="fa fa-link" aria-hidden="true"></i></a>VimScript - Vim &#x7684;&#x81EA;&#x5B9A;&#x4E49;&#x914D;&#x7F6E;</h3>
<ol>
<li><p>&#x7B80;&#x4ECB;</p>
</li>
<li><p>&#x4E00;&#x95E8;&#x7528;&#x4E8E;&#x5B9A;&#x5236; Vim &#x7684;&#x811A;&#x672C;&#x8BED;&#x8A00;</p>
</li>
<li><p>vimrc &#x548C; Vim &#x4E2D;&#x7684;&#x63D2;&#x4EF6;&#xFF08; .vim &#xFF09;&#x90FD;&#x662F;&#x4F7F;&#x7528; Vim &#x811A;&#x672C;&#x8BED;&#x8A00; - vimscript &#x7F16;&#x5199;&#x7684;</p>
</li>
<li><p>Vimscript</p>
</li>
</ol>
<blockquote>
<ul>
<li>VimScript &#x7CFB;&#x7EDF;&#x5B66;&#x4E60;&#xFF1A;<a href="http://learnvimscriptthehardway.onefloweroneworld.com/" target="_blank">http://learnvimscriptthehardway.onefloweroneworld.com/</a></li>
<li><a href="VimScript&#x5B66;&#x4E60;.md">&#x6211;&#x7684;&#x5B66;&#x4E60; VimScript &#x7B14;&#x8BB0;</a></li>
</ul>
</blockquote>
<p><strong>&#x8BB0;&#x5F55;&#x4E00;&#x4E9B; vimrc &#x7684;&#x6280;&#x5DE7;&#x7528;&#x6CD5;</strong></p>
<ul>
<li>&#x8981;&#x8BA9; .vimrc &#x53D8;&#x66F4;&#x5185;&#x5BB9;&#x751F;&#x6548;&#xFF0C;&#x4E00;&#x822C;&#x7684;&#x505A;&#x6CD5;&#x662F;&#x5148;&#x4FDD;&#x5B58; .vimrc &#x518D;&#x91CD;&#x542F; vim &#x3002;&#x589E;&#x52A0;&#x5982;&#x4E0B;&#x8BBE;&#x7F6E;&#xFF0C;&#x53EF;&#x4EE5;&#x5B9E;&#x73B0;&#x4FDD;&#x5B58; .vimrc (<code>:w</code>) &#x65F6;&#x81EA;&#x52A8;&#x91CD;&#x542F;&#x52A0;&#x8F7D;<pre><code class="lang-shell">autocmd BufWritePost $MYVIMRC source $MYVIMRC
</code></pre>
</li>
<li><p>&#x8BBE;&#x7F6E; html / css / python &#x7B49;&#x6587;&#x4EF6;&#x7684;&#x9ED8;&#x8BA4;&#x6A21;&#x677F;</p>
</li>
<li><p>&#x5728;<code>~/.vim/vimfiles</code>&#x76EE;&#x5F55;&#x4E0B;&#x5EFA;&#x4E00;&#x4E2A;&#x81EA;&#x5B9A;&#x4E49;&#x540E;&#x7F00;&#x7684;&#x6A21;&#x677F;&#x6587;&#x4EF6;&#xFF0C;&#x6BD4;&#x5982; template.html&#xFF0C;&#x5728;&#x91CC;&#x9762;&#x8F93;&#x5165;&#x4F60;&#x81EA;&#x5DF1;&#x60F3;&#x8981;&#x521D;&#x59CB;&#x5316;&#x6A21;&#x677F;&#x7684;&#x5185;&#x5BB9; </p>
</li>
<li><p>&#x5728; <code>~/.vimrc</code> &#x6216; <code>/etc/vim/vimrc</code> &#x6587;&#x4EF6;&#x4E2D;&#x6DFB;&#x52A0;</p>
<pre><code>autocmd BufNewFile *.html 0r ~/.vim/vimfiles/template.html
</code></pre></li>
<li><p>&#x652F;&#x6301;&#x4E2D;&#x6587;&#x4E0D;&#x4E71;&#x7801;</p>
<pre><code># &#x8BBE;&#x7F6E;&#x7F16;&#x7801;
set fileencodings=utf-8,ucs-bom,gb18030,gbk,gb2312,cp936
set termencoding=utf-8
set encoding=utf-8
</code></pre><blockquote>
<ul>
<li>&#x4E0E; Vim &#x7F16;&#x7801;&#x6709;&#x5173;&#x7684;&#x53D8;&#x91CF;&#x5305;&#x62EC;&#xFF1A;encoding&#x3001;fileencoding&#x3001;termencoding<ul>
<li>encoding &#x9009;&#x9879;&#x7528;&#x4E8E;&#x7F13;&#x5B58;&#x7684;&#x6587;&#x672C;&#x3001;&#x5BC4;&#x5B58;&#x5668;&#x3001;Vim &#x811A;&#x672C;&#x6587;&#x4EF6;&#x7B49;</li>
<li>fileencoding &#x9009;&#x9879;&#x662F; Vim &#x5199;&#x5165;&#x6587;&#x4EF6;&#x65F6;&#x91C7;&#x7528;&#x7684;&#x7F16;&#x7801;&#x7C7B;&#x578B;</li>
<li>termencoding &#x9009;&#x9879;&#x8868;&#x793A;&#x8F93;&#x51FA;&#x5230;&#x7EC8;&#x7AEF;&#x65F6;&#x91C7;&#x7528;&#x7684;&#x7F16;&#x7801;&#x7C7B;&#x578B;</li>
</ul>
</li>
</ul>
</blockquote>
</li>
<li><p>&#x663E;&#x793A;&#x7A7A;&#x683C;&#x548C; tab &#x952E;</p>
<pre><code class="lang-shell">set listchars=tab:&gt;-,trail:-
</code></pre>
<blockquote>
<ul>
<li>Vim &#x7F16;&#x8F91;&#x5668;&#x4E2D;&#x9ED8;&#x8BA4;&#x4E0D;&#x663E;&#x793A;&#x6587;&#x4EF6;&#x4E2D;&#x7684; tab &#x548C;&#x7A7A;&#x683C;&#x7B26;&#xFF0C;&#x65B9;&#x4FBF;&#x5B9A;&#x4F4D;&#x8F93;&#x5165;&#x9519;&#x8BEF;</li>
</ul>
</blockquote>
</li>
<li><p>&#x62EC;&#x53F7;&#x81EA;&#x52A8;&#x8865;&#x5168;</p>
</li>
</ul>
<pre><code>inoremap ( ()&lt;Esc&gt;i
inoremap [ []&lt;Esc&gt;i
inoremap { {}&lt;Esc&gt;i
</code></pre><h2 id="buffer--tab--windows-&#x8BE6;&#x89E3;"><a name="buffer--tab--windows-&#x8BE6;&#x89E3;" class="plugin-anchor" href="#buffer--tab--windows-&#x8BE6;&#x89E3;"><i class="fa fa-link" aria-hidden="true"></i></a>buffer \ tab \ windows &#x8BE6;&#x89E3;</h2>
<blockquote>
<ul>
<li>A buffer is the in-memory text of a file</li>
<li>A window is a viewport on a buffer</li>
<li>A tab page is a collection of windows</li>
</ul>
</blockquote>
<h2 id="buffer"><a name="buffer" class="plugin-anchor" href="#buffer"><i class="fa fa-link" aria-hidden="true"></i></a>Buffer</h2>
<blockquote>
<p>A buffer is an area of Vim&#x2019;s memory used to hold text read from a file. In addition, an empty buffer with no associated file can be created to allow the entry of text. &#x2013; vim.wikia</p>
</blockquote>
<footer class="page-footer-ex"> <span class="page-footer-ex-copyright"> <a href="https://github.com/Xiechengqi" target="_blank">Xiechengqi</a> </span> &#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;&#xA0; <span class="page-footer-ex-footer-update"> <strong>&#x6700;&#x65B0;&#x4FEE;&#x8BA2;&#x65F6;&#x95F4;&#xFF1A;</strong> 2020-01-04 15:54:39 </span> </footer>
<script>console.log("plugin-popup....");document.onclick = function(e){ e.target.tagName === "IMG" && window.open(e.target.src,e.target.src)}</script><style>img{cursor:pointer}</style>
                                
                                </section>
                            
    </div>
    <div class="search-results">
        <div class="has-results">
            
            <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
            <ul class="search-results-list"></ul>
            
        </div>
        <div class="no-results">
            
            <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
            
        </div>
    </div>
</div>

                        </div>
                    </div>
                
            </div>

            
                
                <a href="Vim小知识.html" class="navigation navigation-prev " aria-label="Previous page: Vim小知识">
                    <i class="fa fa-angle-left"></i>
                </a>
                
                
                <a href="VimScript学习笔记.html" class="navigation navigation-next " aria-label="Next page: VimScript 学习笔记">
                    <i class="fa fa-angle-right"></i>
                </a>
                
            
        
    </div>

    <script>
        var gitbook = gitbook || [];
        gitbook.push(function() {
            gitbook.page.hasChanged({"page":{"title":"Vim编辑器再学习","level":"1.7.2","depth":2,"next":{"title":"VimScript 学习笔记","level":"1.7.3","depth":2,"path":"Vim/VimScript学习笔记.md","ref":"Vim/VimScript学习笔记.md","articles":[]},"previous":{"title":"Vim小知识","level":"1.7.1","depth":2,"path":"Vim/Vim小知识.md","ref":"Vim/Vim小知识.md","articles":[]},"dir":"ltr"},"config":{"plugins":["-lunr","-search","-livereload","-sharing","expandable-chapters","popup","pageview-count","code","back-to-top-button","hide-element","github-buttons","github","splitter","search-pro","anchors","page-footer-ex","advanced-emoji","sharing-plus"],"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"pluginsConfig":{"github":{"url":"https://github.com/Xiechengqi/LearningNotes"},"page-footer-ex":{"copyright":"[Xiechengqi](https://github.com/Xiechengqi)","markdown":true,"update_format":"YYYY-MM-DD HH:mm:ss","update_label":"<strong>最新修订时间：</strong>"},"splitter":{},"search-pro":{},"sharing-plus":{"qq":false,"all":["facebook","google","twitter","instapaper","linkedin","pocket","stumbleupon"],"douban":false,"facebook":true,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":true,"messenger":false,"line":false,"vk":false,"pocket":true,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"popup":{},"code":{"copyButtons":true},"hide-element":{"elements":[".gitbook-link"]},"fontsettings":{"theme":"white","family":"sans","size":2},"highlight":{},"back-to-top-button":{},"pageview-count":{},"github-buttons":{"buttons":[{"user":"Xiechengqi","repo":"LearningNotes","type":"star","size":"small","count":true}]},"advanced-emoji":{"embedEmojis":false},"sharing":{"qq":false,"douban":false,"facebook":false,"weibo":false,"instapaper":false,"whatsapp":false,"hatenaBookmark":false,"twitter":false,"messenger":false,"line":false,"vk":false,"pocket":false,"google":false,"viber":false,"stumbleupon":false,"qzone":false,"linkedin":false},"theme-default":{"styles":{"website":"styles/website.css","pdf":"styles/pdf.css","epub":"styles/epub.css","mobi":"styles/mobi.css","ebook":"styles/ebook.css","print":"styles/print.css"},"showLevel":false},"anchors":{},"expandable-chapters":{}},"theme":"default","pdf":{"pageNumbers":true,"fontSize":12,"fontFamily":"Arial","paperSize":"a4","chapterMark":"pagebreak","pageBreaksBefore":"/","margin":{"right":62,"left":62,"top":56,"bottom":56}},"structure":{"langs":"LANGS.md","readme":"README.md","glossary":"GLOSSARY.md","summary":"SUMMARY.md"},"variables":{},"title":"日常学习笔记","language":"zh-hans","gitbook":"*","description":"日常学习笔记"},"file":{"path":"Vim/Vim编辑器再学习.md","mtime":"2020-01-04T07:54:39.052Z","type":"markdown"},"gitbook":{"version":"3.2.3","time":"2020-03-28T02:57:41.582Z"},"basePath":"..","book":{"language":""}});
        });
    </script>
</div>

        
    <script src="../gitbook/gitbook.js"></script>
    <script src="../gitbook/theme.js"></script>
    
        
        <script src="../gitbook/gitbook-plugin-expandable-chapters/expandable-chapters.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-pageview-count/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-code/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-back-to-top-button/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-hide-element/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github-buttons/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-github/plugin.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-splitter/splitter.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/jquery.mark.min.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-search-pro/search.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-sharing-plus/buttons.js"></script>
        
    
        
        <script src="../gitbook/gitbook-plugin-fontsettings/fontsettings.js"></script>
        
    

    </body>
</html>

